
<div class="BlockBar"><?php echo CHtml::activeLabel($this->model, 'admin_add_title'); ?></div>
    <?php $form = $this->beginWidget('CActiveForm', array('id' => 'user-form', 'enableAjaxValidation' => true)); ?>
    <table cellspacing="1" cellpadding="4" class="tab">
        <tr class="row">
            <td width="73" class="align-right"><?php echo $form->labelEx($this->model, 'admin_name'); ?>:</td>
            <td width="389"><?php echo $form->textField($this->model, 'admin_name', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($this->model, 'admin_name'); ?></td>
        </tr>
                <tr class="row">
            <td width="73" class="align-right"><?php echo $form->labelEx($this->model, 'admin_pass'); ?>:</td>
            <td width="389"><?php echo $form->passwordField($this->model, 'admin_pass', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($this->model, 'admin_pass'); ?></td>
        </tr>
        <tr class="row">
            <td class="align-right"><?php echo $form->labelEx($this->model, 'admin_group_id'); ?>:</td>
            <td><?php echo $form->dropDownList($this->model, 'admin_group_id', $this->model->getParentOption()); ?><?php echo $form->error($this->model, 'admin_group_id'); ?></td>
        </tr>
        <tr class="row">
            <td class="align-right"><?php echo $form->labelEx($this->model, 'admin_email'); ?>:</td>
            <td><?php echo $form->textField($this->model, 'admin_email', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($this->model, 'admin_email'); ?></td>
        </tr>
        <tr class="row">
            <td class="align-right"><?php echo $form->labelEx($this->model, 'admin_status'); ?>:</td>
            <td><?php echo $form->dropDownList($this->model, 'admin_status', $this->model->getUserStatusArray()); ?><?php echo $form->error($this->model, 'admin_status'); ?></td>
        </tr>
        <tr class="rows">
            <td class="rows"></td>
            <td class="rows"><?php echo CHtml::submitButton(Yii::t('app', '提 交'), array('class' => 'btn')); ?></td>
        </tr>
    </table>
    <?php $this->endWidget(); ?>